package org.pentaho.cubic.client.objects;

import java.io.Serializable;

public class RolePermission implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1448190116952811882L;
	public String name;
	public int mask;

	public RolePermission() {
	}

	public RolePermission(String name, int mask) {
		this.name = name;
		this.mask = mask;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getMask() {
		return mask;
	}

	public void setMask(int mask) {
		this.mask = mask;
	}

	public String toString() {
		return "RolePermission[name=" + name + ", mask=" + mask + "]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
	}
}

